]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
weather: Fix property name
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 31 Jul 2019 23:46:05 +0000 (01:46 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 31 Jul 2019 23:50:13 +0000 (01:50 +0200)
It's g-*name*-owner. As the condition covers the unlikely case where
Weather is running before gnome-shell, this slipped through.

js/misc/weather.js

index 4d63d745be6c6b1021c28985e9317bccada5a34b..3e1a2ba8661e13b9278b0828049e31664feef22e 100644 (file)
@@ -154,7 +154,7 @@ var WeatherClient = class {
         this._weatherProxy.connect('g-properties-changed',
             this._onWeatherPropertiesChanged.bind(this));
 
-        if (this._weatherProxy.g_owner != null)
+        if (this._weatherProxy.g_name_owner != null)
             this._onWeatherPropertiesChanged();
     }